package cc.ppay.sso.client.config;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * 客户端配置
 *
 * @author Ade.Xiao 2021/1/30 16:43
 */
@Getter
@Setter
@ConfigurationProperties(prefix = "ppay.sso.client", ignoreInvalidFields = true)
public class SsoClientProperties {
    /**
     * 认证中心地址
     */
    private String ssoServer = "http://127.0.0.1:8080/sso-server";
    /**
     * 退出地址
     */
    private String logoutPath = "/logout";
    /**
     * 不拦截地址
     */
    private String excludedPaths;
    /**
     * 客户端类型， token 或者 web
     */
    private String type;
}
